
/* 整体布局 [start] */
html,
body {
    min-height: 100vh;
}

body {
    padding-bottom: 58px;
}

#main {
    background-color: #eef4f6;
    min-height: 100vh;
}
/* 整体布局 [end] */

#main .content {
    height: 100%;
}

/* 头部区域 [start] */
#main .content .head {
    height: 59px;
}



/* 医生姓名、患者姓名 [start] */
#main .content .head .doctor-info,
#main .content .head .patient-info {
    float: left;
    /* width: 33%; */
    height: 100%;
}

#main .content .head .doctor-info .image,
#main .content .head .patient-info .image {
    float: left;
}

#main .content .head .doctor-info .image .text,
#main .content .head .patient-info .image .text {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

#main .content .head .doctor-info .image img,
#main .content .head .patient-info .image img {
    height: 30px;
    margin-top: 5px;
}

#main .content .head .doctor-info .id,
#main .content .head .patient-info .id {
    float: left;
    margin-left: 5px;
}

#main .content .head .doctor-info .id .text,
#main .content .head .patient-info .id .text {
    font-size: 14px;
    text-align: center;
    font-weight: 700;
}

#main .content .head .doctor-info .id .name,
#main .content .head .patient-info .id .name {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}
/* 医生姓名、患者姓名 [end] */

/* 患者姓名 [start] */
#main .content .head .patient-info {
    float: left;
    /* width: 33%; */
    height: 100%;
}
/* 患者姓名 [end] */

/* 头部区域的操作按钮组 [start] */
#main .content .addButtonGroup {
    /* position: relative; */
    /* float: left; */
    /* width: 33%; */
    /* height: 100%; */
}

#main .content .addButtonGroup button {
    box-sizing: border-box;
    position: relative;
    right: 0;
    display: block;
    height: 27px;
    padding: 4px 8px;
    padding-right: 20px;
    border-radius: 4px;
    border-width: 0;
    background-color: #a4dcee;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    width: 100%;
}

#main .content .addButtonGroup button:hover {
    background-color: #9e9eff;
}

#main .content .addButtonGroup button svg {
    position: absolute;
    top: 6px;
    right: 3px;
    width: 15px;
    height: 15px;
}

#main .content .addButtonGroup button svg path {
    fill: #4874cb;
}

#main .content .addButtonGroup #select_patient {
    top: 0;
}

#main .content .addButtonGroup #add_patient {
    /* top: 32px; */
}
/* 头部区域的操作按钮组 [end] */

/* 头部区域 [end] */


/* 基础信息 [start] */
#main .content .basic-info {
    margin-top: 5%;
}

#main .content .basic-info .basic-info-title {
    text-align: center;
    background-color:lightblue;
    height: 42.22px;
    font-size: 30px;
    border-radius: 16px;
}

#main .content .basic-info .basic-info-content {
    width: 100%;
    height: 100px;
}

#main .content .basic-info .basic-info-content div {
    width: 50%;
    float: left;
    height: 50px;
    display: flex;
    justify-content: center; 
    align-items: center;
}

@media screen and (max-width: 767px) {
    #main .content .basic-info .basic-info-content {
        height: 200px;
    }

    #main .content .basic-info .basic-info-content div {
        width: 100%;
    }
}

#main .content .basic-info .basic-info-content div .text {
    line-height: 50px;
    width: 50%;
    font-size: 20px;
}

#main .content .basic-info .basic-info-content div input {
    border-radius: 5px;
    font-size: 20px;
    width: 200px;
    text-align: center;
}

#main .content .basic-info .basic-info-content div select {
    border-radius: 5px;
    font-size: 20px;
    width: 200px;
    text-align: center;
}

/* 基础信息 [end] */


/* 病症信息 [start] */

#main .content .disease-info {
    margin-top: 5%;
}

#main .content .disease-info .disease-info-title {
    text-align: center;
    background-color:lightblue;
    height: 42.22px;
    font-size: 30px;
    border-radius: 16px;
}

#main .content .disease-info .disease-info-content {
    margin-top: 3%;
    width: 100%;
}

#main .content .disease-info .disease-info-content.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#main .content .disease-info .disease-info-content .disease {
     min-height: 80px;
}

#main .content .disease-info .disease-info-content .disease .text {
    margin-left: 50px;
    float: left;
    width: 56%;
    word-break: break-all;
}

#main .content .disease-info .disease-info-content .disease select {
    border-radius: 5px;
    width: 100px;
    text-align: left;
    height: 50px;
    float:right;
    margin-right: 20px ;
    text-align: center;
}

#main .content .disease-info .disease-info-content .disease .text,
#main .content .disease-info .disease-info-content .disease select {
    font-size: 15px;
}

@media screen and (max-width: 767px) {
    #main .content .disease-info .disease-info-content .disease {
        width: 100%;
    }
}
/* 病症信息 [end] */

/* 页脚 [start] */

#footer {
    display: flex;
    justify-content: space-around;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid #ccc;
    background-color: #eef4f6;
}

#footer a {
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #a4dcee;
    font-size: 14px;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);
    color: #0000ee;
    text-decoration: none;
    cursor: pointer;
}

#footer a:hover,
#footer a.active {
    background-color: #9e9eff;
}

/* 页脚 [end] */

@media screen and (min-width: 576px) {
    #main .content .head {
        height: 100px;
        border-bottom: 1px solid #e8e5e5;
        padding-bottom: 10px;
    }

    #main .content .head .doctor-info .image .text,
    #main .content .head .patient-info .image .text {
        font-size: 18px;
    }

    #main .content .head .doctor-info .image img,
    #main .content .head .patient-info .image img {
        height: 50px;
        margin-top: 5px;
    }

    #main .content .head .doctor-info .id,
    #main .content .head .patient-info .id {
        margin-left: 20px;
    }

    #main .content .head .doctor-info .id .text,
    #main .content .head .patient-info .id .text {
        font-size: 18px;
    }

    #main .content .head .doctor-info .id .name,
    #main .content .head .patient-info .id .name {
        font-size: 16px;
        line-height: 50px;
    }

    #main .content .addButtonGroup button {
        left: 50%;
        right: auto;
        height: 40px;
        margin-left: -65px;
        padding: 8px 20px;
        padding-right: 38px;
        border-radius: 4px;
        font-size: 18px;
    }

    #main .content .addButtonGroup button svg {
        top: 11px;
        right: 10px;
        width: 18px;
        height: 18px;
    }

    #main .content .addButtonGroup #select-patient {
        top: 0;
    }

    #main .content .addButtonGroup #add-patient {
        top: 50px;
    }
    body {
        padding-bottom: 81px;
    }

    #main .content .medium .model_container:after {
        content: "";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

    #main .content .medium .model_container .model_info {
        float: left;
        width: 50%;
    }

    #main .content .medium .model_container .AI_judgment {
        box-sizing: border-box;
        float: left;
        width: 50%;
    }

    #main .content .medium .treatment-plan .medicine .pill {
        box-sizing: border-box;
        float: left;
        width: 60%;
        height: 32px;
        border-radius: 4px 0 0 4px;
    }

    #main .content .medium .treatment-plan .medicine .pill label,
    #main .content .medium .treatment-plan .medicine .count label,
    #main .content .medium .treatment-plan .medicine .diluted-solution .left,
    #main .content .medium .treatment-plan .medicine .diluted-solution .right {
        line-height: 30px;
    }

    #main .content .medium .treatment-plan .medicine .pill input {
        border-radius: 0;
    }

    #main .content .medium .treatment-plan .medicine .count {
        box-sizing: border-box;
        float: left;
        width: 40%;
        height: 32px;
        margin-top: 0!important;
        border-left-width: 0;
        border-radius: 0 4px 4px 0;
    }

    #main .content .medium .treatment-plan .medicine .diluted-solution {
        box-sizing: border-box;
        float: left;
        width: 100%;
        height: 32px;
        margin-bottom: 20px;
    }

    #main .bottom-area {
        margin: 30px 0;
    }

    #main .bottom-area .left label,
    #main .bottom-area .right label {
        font-size: 18px;
    }

    #main .bottom-area .left button,
    #main .bottom-area .right button {
        margin-left: 10px;
        padding: 8px 20px;
        font-size: 18px;
    }

    #footer {
        padding: 20px 0;
    }

    #footer a {
        padding: 8px 20px;
        font-size: 18px;
    }
}

@media screen and (min-width: 1001px) {
    #footer {
        left: 50%;
        width: 1000px;
        margin-left: -500px;
    }
}
